/**
 * Created by guobaogang on 2018/9/19.
 */
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import '../../../../hrpub/common/static/fonts/iconfont.css'
import {createPage} from 'nc-lightapp-front';

import HomePage from './container';
import {getAppPageConfig} from "src/hrpub/common/utils/utils";

/**
 * func_type 节点类型 1:调配 2兼职 3 离职
 */
let PeriodModal = createPage({
    billinfo: [{
        billtype: 'grid',
        pagecode: getAppPageConfig().appcode,
        bodycode: 'info'
    }, {
        billtype: 'grid',
        pagecode: getAppPageConfig().appcode,
        bodycode: 'hi_psndoc_part'
    }, {
        billtype: 'form',
        pagecode: getAppPageConfig().appcode,
        headcode: 'parttime'
    }, {
        billtype: 'from',
        pagecode: getAppPageConfig().appcode,
        headcode: 'partadd'
    }]
})(HomePage);
ReactDOM.render(<PeriodModal
        func_type={2}
        appcode={getAppPageConfig().appcode}
        pagecode={getAppPageConfig().pagecode}
        />,
    document.querySelector('#app'));
